package cn.sciento.farm.devicemanager.gateway.uplink.service;

import cn.sciento.farm.devicemanager.dao.entity.DevDevice;
import cn.sciento.farm.devicemanager.gateway.model.uplink.CollectionData;
import cn.sciento.farm.devicemanager.gateway.model.uplink.ControlData;
import cn.sciento.farm.devicemanager.gateway.model.uplink.DeviceStatus;
import cn.sciento.farm.devicemanager.gateway.model.uplink.DeviceSystemPacket;

/**
 * @author wumu
 * @version V1.0
 * @date 2/27/18
 * @time 4:02 PM
 */
public interface MessageDisposeService {

    void changeOnline(DeviceStatus deviceStatus);

    void changeSwitchStatus(String concentrator, String node, int up);

    void changeCollectionStatus(String concentrator, String node, int up);

    void changeDeviceData(CollectionData collectionData);

    void changeSwitch(ControlData controlData);

    void changeSystem(DeviceSystemPacket devDevice);

}
